package com.ruoyi.project.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 领取对象 sys_receive
 *
 * @author theme
 * @date 2021-04-20
 */
public class SysReceive extends BaseEntity {
    private static final long serialVersionUID = 1L;


    private String orders;

    /**
     * 用户id
     */
    private Long receiveId;

    /**
     * 用户id
     */
    @ApiModelProperty(name = "银行用户id")
    @Excel(name = "银行用户id",sort = 4)
    private String bankUserId;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(name = "用户id")
    @Excel(name = "openId",sort = 3)
    private String openId;

    /**
     * 奖品编码
     */
    @ApiModelProperty(name = "奖品编码")
    @Excel(name = "奖品编码",sort = 2)
    private String phone;

    /**
     * 活动名称
     */
    @ApiModelProperty(name = "活动名称")
    private String nickName;

    /**
     * 业务类型
     */
    @ApiModelProperty(name = "立减金")
    @Excel(name = "立减金",sort = 6)
    private String type;

    /**
     */
    private String img;

    /**
     * 领取状态
     */
    @ApiModelProperty(name = "领取状态(0-领取失败 1-领取成功)")
    @Excel(name = "领取状态",sort =5,dictType = "sys_reward")
    private String status;

    /**
     * $column.columnComment
     */
    @Excel(name = "银行流水号",sort = 0)
    private String secret;

    private String timeStr;

    private String code;

    private String codeValue;

    private String key;

    @Excel(name = "活动编码",sort = 1)
    private String outlets;

    private String used;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date times;

    private String timesStr;

    private Long companyId;

    private String typeName;


    private String reason;

    private String param;


    private String sign;

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public String getCodeValue() {
        return codeValue;
    }

    public void setCodeValue(String codeValue) {
        this.codeValue = codeValue;
    }

    public String getOrders() {
        return orders;
    }

    public void setOrders(String orders) {
        this.orders = orders;
    }

    public void setReceiveId(Long receiveId) {
        this.receiveId = receiveId;
    }

    public Long getReceiveId() {
        return receiveId;
    }

    public String getBankUserId() {
        return bankUserId;
    }

    public void setBankUserId(String bankUserId) {
        this.bankUserId = bankUserId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getOpenId() {
        return openId;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getImg() {
        return img;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }

    public String getSecret() {
        return secret;
    }


    public String getTimeStr() {
        return timeStr;
    }

    public void setTimeStr(String timeStr) {
        this.timeStr = timeStr;
    }


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getOutlets() {
        return outlets;
    }

    public void setOutlets(String outlets) {
        this.outlets = outlets;
    }


    public String getUsed() {
        return used;
    }

    public void setUsed(String used) {
        this.used = used;
    }

    public Date getTimes() {
        return times;
    }

    public void setTimes(Date times) {
        this.times = times;
    }

    public String getTimesStr() {
        return timesStr;
    }

    public void setTimesStr(String timesStr) {
        this.timesStr = timesStr;
    }

    public Long getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("receiveId", getReceiveId())
                .append("bankUserId", getBankUserId())
                .append("openId", getOpenId())
                .append("phone", getPhone())
                .append("nickName", getNickName())
                .append("type", getType())
                .append("img", getImg())
                .append("status", getStatus())
                .append("secret", getSecret())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
